@d-healey Got it working, thankyou.

Obviously it has to go in the part of the code where the change happens...for whatever reason that basic concept had escaped me. Thanks again